#include "cpu/exec/template-start.h"
#define instr jg

static void do_execute() {
    DATA_TYPE_S offset=op_src->val;
    print_asm("jg\t0x%08x", cpu.eip+1+DATA_BYTE+offset);
    if(cpu.eflags.ZF==0 && cpu.eflags.SF==cpu.eflags.OF){
        cpu.eip=cpu.eip+offset;
    }
}

make_instr_helper(i);


#include "cpu/exec/template-end.h"